package com.example.e_book.entity;

public class Book {
    private int bookId;
    private String title;
    private String author;
    private String category;
    private String coverImagePath;
    private String contentPath;

    public Book() {
        // Default constructor is required by SQLite
    }

    public Book(int bookId, String title, String author, String category, String contentPath,String coverImagePath ) {
        this.bookId = bookId;
        this.title = title;
        this.author = author;
        this.category = category;
        this.contentPath = contentPath;
        this.coverImagePath = coverImagePath;
    }

    // Getters and setters
    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCoverImagePath() {
        return coverImagePath;
    }

    public void setCoverImagePath(String coverImagePath) {
        this.coverImagePath = coverImagePath;
    }

    public String getContentPath() {
        return contentPath;
    }

    public void setContentPath(String contentPath) {
        this.contentPath = contentPath;
    }
}